package org.juggers.remote;

import java.util.List;

import org.juggers.domain.JugEvent;
import org.juggers.domain.Jugger;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * Asynchronous juggers calendar service interface
 * @author michel@breizhjug.org
 */
public interface JuggersServiceAsync {

	void getEvents(AsyncCallback<List<JugEvent>> callback);
	
    void getParticipants( String eventId, AsyncCallback<List<Jugger>> callback );

	void subscribe(String id, String captchaChallenge, String captchaResponse,
			Jugger jugger, AsyncCallback<Void> callback);

}
